/**
* @Description: 查询的折叠方法
* @author maoze@hsyuntai.com
* @date 2018/5/11 16:35
* @params No such property: code for class: Script1
* @return
* Modified By:
*/
function openSearchTools() {
    if($("button i").hasClass('fa-caret-down')){
        $("button i").removeClass('fa-caret-down');
        $("button i").addClass('fa-caret-up');
    }else{
        $("button i").removeClass('fa-caret-up');
        $("button i").addClass('fa-caret-down');
    }
    $('.search-tools').css('display',$('.search-tools').css('display')=='none'?'block':'none');
}



/**
* @Description:   按钮的text的修改方法  flag Boolean  comText 正常的文本  revText 不满足的文本
* @author maoze@hsyuntai.com
* @date 2018/5/11 17:21
* @params No such property: code for class: Script1
* @return
* Modified By:
*/
function changeStatueBtn(flag,comText,revText) {
    flag== true?$(".change_text").text(comText):$(".change_text").text(revText)
}